package online.lmds.sdmanage.main.message.dao;

import online.lmds.sdmanage.main.message.entity.MqttLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Brighten Ma on 2017/5/1.
 */

@Repository("MqttLogDao")
public interface MqttLogDao {

    int save(@Param("e") MqttLog e);


    int deleteByUid(@Param("e") MqttLog e);


    int deleteById(@Param("e") MqttLog e);


    MqttLog getById(@Param("e") MqttLog e);

    MqttLog getByUid(@Param("e") MqttLog e);

    List<MqttLog> list(@Param("e") MqttLog e);
}
